package com.wpw.dream.thread;

import java.util.ArrayList;
import java.util.List;

public class ParentStaticDemo {
	
	public static void main(String[] args) {
		/*ChildClass childClass = new ChildClass();
		childClass.doVal();*/
		List<Integer> list = new ArrayList<>();
		list.add(0);
		list.add(2);
		list.add(4);
		
		list.add(1, 1);
		list.add(3, 3);
		list.add(5, 5);
		System.out.println(list);
	}

}

class ParentClass {
	public static String A = "parent";
	
	public void doVal() {
		System.out.println(A);
	}
	
}

class ChildClass extends ParentClass {
	public static String A = "child";
}